using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PACKETPARSERMAX20.CORE;

namespace PACKETPARSERMAX20.CORE.DEFINITIONS
{
    public class SMSG_QUESTGIVER_STATUS_DEF : DefinitionBase
    {

        public override bool Process()
        {
            ResetPosition();

            UInt64 npcGUID = ReadUInt64();
            if (ClientBuild < 8089)
            {
                UInt32 questStatus = ReadUInt32();
            }
            else
            {
                byte questStatus = ReadByte();
            }

            return Validate();
        }
    }
}
